//
//  ViewController.m
//  手势解锁完整
//
//  Created by Mac on 15/12/19.
//  Copyright © 2015年 Mac. All rights reserved.
//

#import "ViewController.h"
#import "LPHUnlockView.h"

@interface ViewController ()<LPHUnlockViewDelegate>
@property (weak, nonatomic) IBOutlet LPHUnlockView *lockView;

@end

@implementation ViewController

-(BOOL)unlockViewPassWord:(LPHUnlockView *)unlockView andPassWord:(NSString *)password{

    if ([password isEqualToString:@"012"]) {
        
        return YES;
        
    }else{
    
    
        return NO;
    }

}


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.lockView.delegate=self;
    
    self.view.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"HomeButtomBG"]];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
